//
//  LeftMenuTableViewCell.m
//  EZ Tracker
//
//  Created by FENGYL on 2016/11/2.
//  Copyright © 2016年 FENGYL. All rights reserved.
//

#import "LeftMenuTableViewCell.h"

@interface LeftMenuTableViewCell()

@property (weak, nonatomic) IBOutlet UIImageView *menuIcon;
@property (weak, nonatomic) IBOutlet UILabel *menuLabel;


@end

@implementation LeftMenuTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(void)setUpMenuIcon:(NSString *)menuIcon menuLabel:(NSString *)menuLabelText cellType:(NSInteger)cellType{
    
    [self.menuIcon setImage:[UIImage imageNamed:menuIcon]];
    [self.menuLabel setText:menuLabelText];
    self.cellName = menuLabelText;
    self.cellType = cellType;
    
    
}

@end
